Ext.onReady(function()
{
    Ext.create("Ext.tree.Panel", 
    {
        width: 100,
        height: 300,
        renderTo: Ext.getBody(),
        root: 
        {
            text: "图片",
            children: [
            {
                text: "风景"
            }, 
            {
                text: "人物"
            }, 
            {
                text: "建筑"
            }]
        }
    })
})
